
package cn.edu.scau.cmi.hombio.service;

import cn.edu.scau.cmi.hombio.domain.CurePig;
import cn.edu.scau.cmi.hombio.domain.CureTaskCourse;
import cn.edu.scau.cmi.hombio.domain.Employee;
import cn.edu.scau.cmi.hombio.domain.Pig;

import java.util.List;
import java.util.Set;

/**
 * Spring service that handles CRUD requests for CurePig entities
 * 
 */
public interface CurePigService {

	/**
	 */
	public CurePig findCurePigByPrimaryKey(Integer id);

	/**
	* Delete an existing Pig entity
	* 
	 */
	public CurePig deleteCurePigPig(Integer curepig_id, Integer related_pig_id);

	/**
	* Delete an existing CurePig entity
	* 
	 */
	public void deleteCurePig(CurePig curepig);

	/**
	* Save an existing Pig entity
	* 
	 */
	public CurePig saveCurePigPig(Integer id_1, Pig related_pig);

	/**
	* Delete an existing Employee entity
	* 
	 */
	public CurePig deleteCurePigEmployee(Integer curepig_id_1, Integer related_employee_id);

	/**
	* Save an existing Employee entity
	* 
	 */
	public CurePig saveCurePigEmployee(Integer id_2, Employee related_employee);

	/**
	* Save an existing CurePig entity
	* 
	 */
	public void saveCurePig(CurePig curepig_1);

	/**
	* Save an existing CureTaskCourse entity
	* 
	 */
	public CurePig saveCurePigCureTaskCourse(Integer id_3, CureTaskCourse related_curetaskcourse);

	/**
	* Return all CurePig entity
	* 
	 */
	public List<CurePig> findAllCurePigs(Integer startResult, Integer maxRows);

	/**
	* Return a count of all CurePig entity
	* 
	 */
	public Integer countCurePigs();

	/**
	* Delete an existing CureTaskCourse entity
	* 
	 */
	public CurePig deleteCurePigCureTaskCourse(Integer curepig_id_2, Integer related_curetaskcourse_id);

	/**
	* Load an existing CurePig entity
	* 
	 */
	public Set<CurePig> loadCurePigs();
}